package com.open.cloud.rbac.mapper.role;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.cloud.rbac.entity.role.ViewUserRolePermissionMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * VIEW Mapper 接口
 * </p>
 *
 * @author wangzengzhou01
 * @since 2025-01-23
 */
@Mapper
public interface ViewUserRolePermissionMenuMapper extends BaseMapper<ViewUserRolePermissionMenu> {
    /**
     * 根据userId查询MenuId
     *
     * @param userId
     * @return
     */
    public List<String> selectMenuIdByUserId(@Param("userId") String userId);
}
